package ru.vba.lion.ejb.impl;

import java.util.List;

import com.google.code.morphia.Datastore;

import ru.vba.lion.beans.User;
import ru.vba.lion.ejb.UserBeanLocal;
import ru.vba.utils.MongoUtils;

public class UserBean implements UserBeanLocal {

	public void save(User substance) {
		Datastore s = MongoUtils.getDatastore(substance.getClass());
		s.save(substance);
	}

	public void delete(User substance) {

	}

	public List<User> getPage() {
		return null;
	}

	public User getById(Long id) {
		return null;
	}

}
